package icu.jiapeng.DemoJava;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping
@RestController
@Api(tags = "健康检查")
public class HealthController {
    @ApiOperation("健康检查")
    @RequestMapping("/health")
    public String health() {
        return "I'm OK";
    }
}
